'use strict';
var is_exist_element = function(collection,element){

    let arr=[];
    for(let i of collection)
    {
        

        if(i%2===0)
        {
            arr.push(collection[i]);
        }
    }
    if(arr.includes(element))
    {
        return true;
    }
    else
    {
        return  false;  
    }
};
module.exports = is_exist_element;
